package com.guandi.geekbrowser.primary.repository;

import com.guandi.geekbrowser.primary.entity.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface RoleRepository extends JpaRepository<Role,Long> {
    Role findByUserId(String userId);
}
